package com.healthcloud.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.healthcloud.entity.UserFamily;

public interface UserFamilyMapper extends CRUDMapper<UserFamily, Long> {
    List<UserFamily> getByUserId(@Param("userId") Long userId);

    int deleteByUserIdPatientId(@Param("userId") Long userId, @Param("patientId") Long patientId);
}